package com.example.springbootexperiment02.custom;

import org.springframework.boot.context.properties.ConfigurationProperties;



@ConfigurationProperties(prefix = "bothin.auto")
public class CustomProperties {

    /*
      自动配置类是否生效
     */
    private Boolean enable = false;

    public Boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable){
        this.enable = enable;
    }
}